/*********************************************************************************/
/*                                                                               */
/*      ICU Driver                                                               */
/*                                                                               */
/*      Last updated by:   CBS                                                   */
/*      Last update date:  2013/3/1                                              */
/*      Revision:          0                                                     */
/*      Copyright:         DENSO                                                 */
/*                                                                               */
/*********************************************************************************/

/*********************************************************************************/
/*  include files                                                                */
/*********************************************************************************/
#include "Icu.h"

Icu_ChannelConfigType IcuChannelConfiguration[] =
{
    {
        6,  /* IcuHwChannelNumber */
        3,  /* IcuChannelPrescalerBits */
        15,  /* IcuInterruptPriority */
        ICU_FALLING_EDGE,  /* IcuDefaultStartEdge */
        ICU_MODE_SIGNAL_MEASUREMENT,  /* IcuMeasurementMode */
        ICU_PERIOD_TIME  /* IcuSignalMeasurementProperty */
    },
    {
        7,  /* IcuHwChannelNumber */
        3,  /* IcuChannelPrescalerBits */
        15,  /* IcuInterruptPriority */
        ICU_RISING_EDGE,  /* IcuDefaultStartEdge */
        ICU_MODE_SIGNAL_MEASUREMENT,  /* IcuMeasurementMode */
        ICU_DUTY_CYCLE  /* IcuSignalMeasurementProperty */
    }
};

const Icu_ConfigType IcuConfigData =
{
    sizeof(IcuChannelConfiguration)/sizeof(IcuChannelConfiguration[0]),  /* NbrOfChannels */
    249,  /* GlobalPrescalerBits */
    IcuChannelConfiguration  /* IcuChannelConfig */
};

/**** End Of File ****************************************************************/